/**
 * Filename: TodayShowActivity.java
 *
 * @author Firefly
 * @contact postfirefly@163.com
 * @time 2016/3/9 2:57
 */
package com.github.postsanf.yinian.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.github.postsanf.yinian.R;
import com.umeng.analytics.MobclickAgent;

public class StealPhotoCourseGuideActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.yn_activity_stealcourse_guide);
        initView();
    }

    private void initView() {
        findViewById(R.id.course_guide_login).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                SpUtils.put(StealPhotoCourseGuideActivity.this, "GourseGuideLead", true);
                startActivity(new Intent(StealPhotoCourseGuideActivity.this, StealEachCourse1Activity.class));
                finish();
            }
        });
    }


    // 友盟统计
    public void onResume() {
        super.onResume();
        MobclickAgent.onPageStart(this.getClass().getSimpleName());
        MobclickAgent.onResume(this);
    }

    public void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd(this.getClass().getSimpleName());
        MobclickAgent.onPause(this);
    }
}
